package com.leon.classify.domain;

/**
 * AdvertPic entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class AdvertPic implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String advertPicId;
	private LeftRecommon leftRecommon;
	private MiddleArea middleArea;
	private RightArea rightArea;
	private Company company;
	private String picName;
	private String picUrl;
	private String picDesc;
	private Integer displayOrder;
	private Integer state;
	private Integer location;

	// Constructors

	/** default constructor */
	public AdvertPic() {
	}

	/** full constructor */
	public AdvertPic(LeftRecommon leftRecommon, MiddleArea middleArea,
			RightArea rightArea, Company company, String picName,
			String picUrl, String picDesc, Integer displayOrder, Integer state,
			Integer location) {
		this.leftRecommon = leftRecommon;
		this.middleArea = middleArea;
		this.rightArea = rightArea;
		this.company = company;
		this.picName = picName;
		this.picUrl = picUrl;
		this.picDesc = picDesc;
		this.displayOrder = displayOrder;
		this.state = state;
		this.location = location;
	}

	// Property accessors

	public String getAdvertPicId() {
		return this.advertPicId;
	}

	public void setAdvertPicId(String advertPicId) {
		this.advertPicId = advertPicId;
	}

	public LeftRecommon getLeftRecommon() {
		return this.leftRecommon;
	}

	public void setLeftRecommon(LeftRecommon leftRecommon) {
		this.leftRecommon = leftRecommon;
	}

	public MiddleArea getMiddleArea() {
		return this.middleArea;
	}

	public void setMiddleArea(MiddleArea middleArea) {
		this.middleArea = middleArea;
	}

	public RightArea getRightArea() {
		return this.rightArea;
	}

	public void setRightArea(RightArea rightArea) {
		this.rightArea = rightArea;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public String getPicName() {
		return this.picName;
	}

	public void setPicName(String picName) {
		this.picName = picName;
	}

	public String getPicUrl() {
		return this.picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String getPicDesc() {
		return this.picDesc;
	}

	public void setPicDesc(String picDesc) {
		this.picDesc = picDesc;
	}

	public Integer getDisplayOrder() {
		return this.displayOrder;
	}

	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getLocation() {
		return this.location;
	}

	public void setLocation(Integer location) {
		this.location = location;
	}

}